import React from 'react';
import ReactDOM from 'react-dom';
import FastClick from 'fastclick';
import {Provider} from 'react-redux';
import {BrowserRouter} from 'react-router-dom'
//import App from './pages/App'
import App from './router/'
import store from './redux/store';
import './style/index.css';
import 'antd-mobile/dist/antd-mobile.css';
import registerServiceWorker from './registerServiceWorker';

FastClick.attach(document.body);

ReactDOM.render(
    <Provider store={store}>
        <BrowserRouter>
            <App/>
        </BrowserRouter>
    </Provider>,
    document.getElementById('root')
)

registerServiceWorker();
